package org.example.mylogin.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AdminLoginDTO {
    @NotNull(message = "电话不能为空")//加入valid依赖后
    private String phone;
    @NotNull(message = "密码不能为空")
    private String password;
}
